package com.woniu.postbar.entity.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class PostCollectDTO {

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("帖子标题")
    private String title;

    @ApiModelProperty("帖子内容id")
    private Integer userPostId;

    @ApiModelProperty("发布的帖子内容")
    private String content;

    @ApiModelProperty("收藏时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
